github.com/gotd/td/telegram.Client.sessions (field)
13 uses
github.com/gotd/td/telegram (current package)
client.go#L155: sessions map[int]*pool.SyncSession
client.go#L369: c.sessions = map[int]*pool.SyncSession{}
logout.go#L103: for dc := range c.sessions {
logout.go#L104: delete(c.sessions, dc)
pfs.go#L27: if s, ok := c.sessions[dc]; ok {
pfs.go#L55: s, ok := c.sessions[dcID]
pfs.go#L58: c.sessions[dcID] = s
pool.go#L148: sessions := c.sessions
session.go#L91: c.sessions[dc] = pool.NewSyncSession(pool.Session{
session.go#L108: s, ok := c.sessions[dc]
session.go#L177: s, ok := c.sessions[dc]
session.go#L194: if s, ok := c.sessions[dc]; ok {
session.go#L351: c.storeDCSess(c.sessions, sessionData)
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |